#pragma once

#include "Control_Visible.h"

namespace gui
{
	class Renderer;

	class Control_MenuClose : public Control_Visible
	{
	public:
		Control_MenuClose(ColorRGBA<unsigned char> NewBackColor, Vec<2, float> NewPos, Vec<2, float> NewSize, Control_Menu* NewParentMenu, Host& NewParentHost);
		virtual ~Control_MenuClose(void);

	protected:
		virtual void MouseDownLeft();

		virtual void UpdateVerticesFix(RendererComponent& Renderer);
		virtual void UpdateVerticesSlow(RendererComponent& Renderer){};
	};

}